package com.jubaozan.service.platform.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Auther: chenjingui
 * @Date: 2020/9/22 21:53
 * @Description:
 */
@Data
@ApiModel(value = "项目方查询商品对象-作废", description = "项目方查询商品对象-作废")
public class GoodsSearchVO {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "供货商ID")
    private Long supplierId;

    @ApiModelProperty(value = "商品类目,关联商品类目表sc_category")
    private Long categoryId;

    @ApiModelProperty(value = "一级类目")
    private Long oneCategoryId;

    @ApiModelProperty(value = "商品类型 1: 实物商品（物流发货） 2 : 虚拟商品（无需物流） ")
    private Integer goodsType;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "最低零售价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "最高零售价")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "最低供货价")
    private BigDecimal minCostPrice;

    @ApiModelProperty(value = "最高供货价")
    private BigDecimal maxCostPrice;

    @ApiModelProperty(value = "是否显示库存 1:显示 0:不显示,默认为0")
    private Integer showStock;

    @ApiModelProperty(value = "商家编码")
    private String goodsCode;

    @ApiModelProperty(value = "上下架 1：上架 0：仓库中（下架）")
    private Integer status;

    @ApiModelProperty(value = "运费类型  01：统一邮费  02： 运费模板   值为01 运费不能为空 值为02时  运费模板值 不能为空")
    private String postfeeType;

    @ApiModelProperty(value = "运费")
    private BigDecimal postFee;

    @ApiModelProperty(value = "运费模板ID")
    private String postfeeTplId;

    @ApiModelProperty(value = "起提数")
    private Integer liftNum;

    @ApiModelProperty(value = "是否购买权限 0：不设置权限   1：设置权限   默认为0 暂时是不是可以考虑不做？")
    private Integer purchaseRight;

    @ApiModelProperty(value = "是否享受折扣")
    private Integer discountSwitch;

    @ApiModelProperty(value = "链接地址")
    private String linkUrl;

    @ApiModelProperty(value = "推文链接")
    private String referralLink;

    @ApiModelProperty(value = "开售类型 1：立即开售  2：定时开售  值为1时 开售时间为当前时间 值为1时 需手工设置时间")
    private Integer listingType;

    @ApiModelProperty(value = "开售时间")
    private LocalDateTime listingTime;

    @ApiModelProperty(value = "详情页面ID")
    private Long pageId;

    @ApiModelProperty(value = "初始销量")
    private Integer initSaleNum;

    @ApiModelProperty(value = "最大利润率")
    private Double maxProfit;

    @ApiModelProperty(value = "上架时间")
    private LocalDateTime upTime;

    @ApiModelProperty(value = "创建者")
    private Long created;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime intime;

    @ApiModelProperty(value = "更新者")
    private Long updated;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    @ApiModelProperty(value = "仓库ID")
    private Long warehouseId;

    @ApiModelProperty(value = "是否开启仓库开关")
    private Integer warehouseSwitch;

    @ApiModelProperty(value = "仓库类型 1.自营仓库 2.海外仓  3.保税仓")
    private Integer warehouseType;

    @ApiModelProperty(value = "状态 0.审核不通过 1.审核中 2.审核通过 9.待提交")
    private Integer auditStatus;

    @ApiModelProperty(value = "审核时间")
    private LocalDateTime auditTime;
}
